import {createRouter, createWebHistory} from "vue-router";
import AppHome from "../views/AppHome.vue";

const routes = [
  {
    path: "/",
    name: "Home",
    component: AppHome
  },
  {
    path: "/home",
    name: "AppHome",
    component: () => import(/* webpackChunkName: "AppHome" */ "../views/AppHome.vue")
  }
];

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes,
});

export default router;
